package winOrDie.GameEngine.P2P;

import java.util.EventObject;

import winOrDie.Game.WoD_Game;

public class WoD_P2P_Peer_Event extends EventObject {

	public static class Event_Types
	{
		public static final int PEER_LIST_MODIFIED = 0;
		public static final int PEER_TEAM_CHANGED = 1;
		public static final int PEER_CAPTAIN_TEAM = 2;
		public static final int PEER_PIRATES_TEAM = 3;
		public static final int PEER_ROL_CAPTAIN = 4;
		public static final int PEER_ROL_MAIDEN = 5;
		public static final int PEER_ROL_PIRATE = 6;
		public static final int PEER_READY_TO_PLAY = 7;
		public static final int PEER_CAPTAIN_TEAM_FULL = 8;
		public static final int PEER_CAPTAIN_TEAM_FREE = 9;
		public static final int PEER_IS_ROOT = 10;
		public static final int PEER_ISNT_ROOT = 11;
		public static final int PEER_ONLY_CAN_SELECT_CAPTAIN = 12;
		public static final int PEER_CAN_SELECT_BOTH_ROLS = 13;
		public static final int PEER_PIRATE_CAN_SELECT_CAPTAIN = 14;
		public static final int PEER_CAN_SELECT_BOTH_TEAMS = 15;
		public static final int PEER_ONLY_CAN_SELECT_MAIDEN = 16;
	}
	
	private int event_Type = -1;
	private Object data = null;
	
	public int getEvent_Type() {
		return event_Type;
	}

	public void setEvent_Type(int eventType) {
		event_Type = eventType;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	public WoD_P2P_Peer_Event(Object source) {
		super(source);
	}
}

